<template>
  <div class="index_container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="工资计算" name="first">
        <SalaryCalculationVue />
      </el-tab-pane>
      <el-tab-pane label="工资总览" name="second">
        <Overview />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import SalaryCalculationVue from "./SalaryCalculation.vue";
import Overview from "./overview.vue";
export default {
  components: { SalaryCalculationVue, Overview },
  data() {
    return {
      activeName: "first",
    };
  },

  methods: {
    handleClick() {
      // this.activeName = "";
    },
  },
};
</script>

<style lang="scss"></style>
